package com.gxar.quick.ar.server.base.async.works.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/4/10 15:52
 */
@Getter
public class UploadIdentifyEvent extends ApplicationEvent {

    private static final long serialVersionUID = -5206783267992460233L;

    private final String type;
    private final Long userId;
    private final Long worksId;
    private final String image;

    public UploadIdentifyEvent(Object source, String type, Long userId, Long worksId, String image) {
        super(source);
        this.type = type;
        this.userId = userId;
        this.worksId = worksId;
        this.image = image;
    }

}
